﻿using BLL.Base;
using System;

namespace BLL.Entity
{
	/// <summary>
	/// Base Entity
	/// </summary>
	public class BaseByAuthor : Base
	{
	#region Properties
		[Field(nullable=false, sqlDBType=System.Data.SqlDbType.Int, usage=EnumUsage.create | EnumUsage.read)]
		public virtual int insertedBy
		{
			get;
			set;
		}

		[Field(nullable=false, sqlDBType=System.Data.SqlDbType.DateTime2, usage=EnumUsage.create | EnumUsage.read)]
		public virtual DateTime? inserteDate
		{
			get;
			set;
		}

		[Field(nullable=true, sqlDBType=System.Data.SqlDbType.Int, usage=EnumUsage.create | EnumUsage.read | EnumUsage.update)]
		public virtual int updatedBy
		{
			get;
			set;
		}

		[Field(nullable=true, sqlDBType=System.Data.SqlDbType.DateTime2, usage=EnumUsage.create | EnumUsage.read | EnumUsage.update)]
		public virtual DateTime? updateDate
		{
			get;
			set;
		}
	#endregion
	}
}
